const fullTime = function () {
  const date = new Date()
  var year = date.getFullYear()
  var month = date.getMonth() + 1
  var dat = date.getDate()
  var hour = date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
  var min =
    date.getMinutes() < 10 ? '0' + this.date.getMinutes() : date.getMinutes()
  sec = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds()

  return year + '年' + month + '月' + dat + '日' + hour + ':' + min + ':' + sec
}
export default fullTime
